[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  FOR..NEXT..STEP   Use Integers.

  Clipper Version  1.29 dtd 04/15/91.

  Problem Statement

  The following will not produce the desired effect:

      FOR n := 1 to 2 step .1
        ? n                      => 1 thru 1.9
      NEXT

  Cause

  Clipper numerics.

  Work Around(s)

  Use integers in the loop statements and convert within the loop; e.g.:

  FOR n := 10 TO 20 STEP 1
    j := n / 10
    ? j
  NEXT


See Also: FIELDBLOCK()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson